package spec.tianjunxiu.unit4.clazzlizi._4_15;

public class MathTest {
public static void main(String[] args){//final 不能被继承
   // Math m= new Math();
    double d= Math.sin(Math.PI/6);
    System.out.println(d);
    System.out.println(Math.cos(Math.PI/6));
    System.out.println(Math.tan(Math.PI/6));
    System.out.println(Math.atan(Math.PI/6));
    System.out.println(Math.asin(Math.PI/6));
    System.out.println(Math.acos(Math.PI/6));
    System.out.println(Math.toRadians(45));
    System.out.println(Math.toDegrees(Math.PI/3));
    double d1=Math.exp(0);
    System.out.println(d1);
    System.out.println(Math.pow(2,10));
    System.out.println(Math.sqrt(9));
    System.out.println(Math.log(3));
    System.out.println(Math.log10(3));
    System.out.println(Math.ceil(8.3));
    System.out.println(Math.floor(3.5));
    System.out.println(Math.rint(3.7));
    System.out.println(Math.round(2.5));
    System.out.println(Math.round(4.3f));
    System.out.println(Math.max(4.8,3.2));
    System.out.println(Math.min(4.8,3.2));
    System.out.println(Math.abs(-3));
}
}
